<input type="text" name="<?php echo $field->name; ?>" value="<?php echo $data; ?>" />